package com.seagull.core.test.desing.zerenlian;

/**
 * @author:jian.zhou
 * @date:2017/12/28
 * @version:0.0.1
 * @desc:
 */
public class CarBody extends Car {

    @Override
    public void createCar() {
        System.out.println("创建 车身 ======》》");

        if ( super.getCar() != null ){
            super.getCar().createCar();
        }
    }
}
